Fix update --precise with the registry source
authorAlex Crichton <alex@alexcrichton.com>
Tue, 19 Jan 2016 20:06:58 +0000 (12:06 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 19 Jan 2016 20:06:58 +0000 (12:06 -0800)
commitf70917537de06598584d6c981ea4029612cfe02f
treecbcb30a0656b79322bb567a8e2d2949f0e313466
parent9ebfb9b6d2bad7f9640ae012fae686ceeab7b084
Fix update --precise with the registry source

There was a previous bug where if any crate's name was the start of the crate
being updated that the crate wouldn't resolve at all, and this fixes the prefix
checking error bug.

cc #2293
src/cargo/sources/registry.rs
tests/test_cargo_registry.rs